package wjb.test.mawen.mawen.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import wjb.test.mawen.mawen.model.Question;

@Mapper
public interface QuestionMapper {
    @Insert("insert into question(title,description,tag,gmt_create,gmt_modified,comment_count,view_count,like_count) values(#{title},#{description},#{tag},#{gmt_create},#{gmt_modified},0,0,0)")
    public void  addQuestion(Question question);


}
